package net.sk.china.common.exception;

/**
 * Exception 接口定义
 * +----------------------------------------------------------------------
 * | Talk To [ 聊来改善地区金融服务环境，助力企业发展 ]
 * +----------------------------------------------------------------------
 * | Copyright (c) 2018-2024 聊来All rights reserved.
 * +----------------------------------------------------------------------
 * | Licensed ( <a href="http://www.apache.org/licenses/LICENSE-2.0">apache</a>)
 * +----------------------------------------------------------------------
 * | @Author: 聊来 <18970881148@qq.com>
 * +----------------------------------------------------------------------
 * | DateTime: 2024/6/2 12:06
 * +----------------------------------------------------------------------
 */
public interface ExceptionHandler {

    /**
     * 状态码
     * @return int
     */
    int getCode();

    /**
     * 返回信息
     * @return String
     */
    String getMessage();
}
